import { defineConfig } from 'eslint-define-config';

export default defineConfig({
    env: {
        browser: true,
        es2021: true,
    },
    extends: [
        'eslint:recommended',
        'plugin:vue/vue3-recommended',
    ],
    parserOptions: {
        ecmaVersion: 12,
        sourceType: 'module',
    },
    rules: {
        'no-unused-vars': 'warn',
        'eqeqeq': 'error',
        'camelcase': 'warn',
        'space-before-function-paren': 'off',
        'semi': 'off',
        'no-undef': 'off',
    },
}); 